package t01;

/**
 * @author zhu
 * @date 2024-04-11
 */
public class User {
    public void wenHao(String name,IWenHou iWenHou) {
        iWenHou.sayHello(name);
    }
    public void goodMorning(String name) {
        System.out.println("早上好，" + name);
    }
    public void goodAfternoon(String name) {
        System.out.println("下午好，" + name);
    }
    public static int goodNight() {
        System.out.println("晚上好");
        return 8;
    }
}
